Guidelines: Rational Unified Process StyleguideTopicsThe Rational Unified Process Styleguide describes the conventions to use when developing the Rational Unified Process online and is organized in these subsections: The style of the process site is enforced by theme, style sheet, and templates all of which are covered in the following subsections, along with some additional style issues. Use these guidelines to keep a uniform look throughout your documentation. If applying them in a given situation looks strange or confusing, skip the guideline and use common sense. Cascading Style Sheets
Each page is linked to a Cascading Style Sheet. The style sheet for Rational Unified Process is located at the top-level folder of the Rational Unified Process. To link the style sheet file to a page, the following line must be included in the header, which is the section between <head> and </head>: <link rel="stylesheet" href="../../rop.css" type="text/css"> The path given above assumes that rop.css is located in the Parent-Parent folder. Adjust according to your actual relative path. The Rational Unified Process templates have a link to the rop.css file already. In most cases Microsoft FrontPage« manages to figure out the relative path once you save the new file in your file structure. If, for some reason, it doesn't work, edit the HTML code appropriately. There is a potential for overlapping between the theme and the style sheet. However, Rational Unified Process does not use the Microsoft FrontPage« theme. In the style sheet, there are so-called classes defined for different HTML markups. When a file linked to a style sheet is loaded in the FrontPage editor, the style list displays the classes from which you can choose. Updates to the style sheet are immediately reflected without any changes in the actual files. Sometimes the FrontPage editor does not register the change, however, a web-browser will once you reload. Information on syntax and other details for style sheets is found in Cascading Style Sheets. Style Classes for the Rational Unified Process
Different Browser SupportMicrosoft Internet Explorer 4.0 supports all the style sheet features used in the Rational Unified Process. Netscape Navigator 4.04 and 4.05 show the following signs that indicate a lack of support:
Theme
A theme governs navigation buttons, bullets, background, link colors, font styles, and sizes for regular text, headings, and more. Here are some of the features and disadvantages:
If you are using a Microsoft FrontPage themeA FrontPage theme can be edited using the Theme Designer, which can be installed from the FrontPage CD. It takes quite some time to re-apply a theme to a site of this size, because every file is visited. This means that all files must be checked out when re-applying a theme. Theme files are kept in the Themes folder of the FrontPage installation folder. The sizes of the different buttonsTo maintain compatibility with pre-defined themes, FrontPage dictates certain sizes for theme button images. If your buttons have other sizes, things will move around when you apply another theme. Although the current theme does not follow these guidelines, here are the required dimensions:
The actual image can be smaller than specified, but the bitmap needs to have the above dimensions. Templates
When creating a new page, there are templates to get you started and help you stay with the style of the site. These templates need to be installed in the FrontPage Pages folder.
See the Authoring Web Pages. TopIn order to quickly return to the top of a page, place a top bookmark there and, after each major heading, add the top-arrow with a link to the top.
Bullets
Be consistent using uppercase or lowercase letters, periods, and commas within a set of bullets. Use the style best suited for the information. Use bullets to list an unordered series of items other than a sequence of events or steps. Example: Full sentences
Example: A comma-separated list
Use a comma-separated list where: Example: Simple listWhen you have a list of concepts, names, and so on, begin each bullet with a lower case letter. Don't use any commas, periods or other punctuation. For example: There are four different models in the Rational Unified process:
Numbered listsUse numbered lists for ordered lists, such as a sequence of steps. Let each item be a full sentence. Alpha listsUse style Numbered List.alpha to create an ordered list with a, b, c, ... This type of list is used if you'll be referring to any of the items in other text; for example, see item a. above. Italics and Bold
Use bold to emphasize. Do not use italics. Italic fonts are hard to read online and may not work correctly in all Web browsers. Chapter and Section Numbering
Whether to number headings or not is still a debate. Customers have requested a way to easily and uniquely reference sections of the material. Because of the dynamic nature of hypertext, numbered headings are difficult to interpret because the headings may be displayed outside of the context of the numbered document. To avoid confusion, use unique names for section headings and fully qualify section references using the name of the page as well as the name of the subsection if it's ambiguous. Where you must number, such as in brief outlines for documents, use the following convention: 1 Heading level 1 (three spaces between the number and the heading title) 1.1 Heading level 2 1.1.1 Heading level 3 Heading level 4 - 6 (no numbering) Heading levels deeper than 6 are not used. An appendix is named using letters: Appendix A, Appendix B, Appendix C, and so on. Examples
Normal.exampleExamples described separately from the body text should have the Normal.example style. Of course things can be exemplified directly in the body text as well. Every text with the Normal.example style should be preceded by a line with the text "Example:" as a Heading 5 (H5). Title Banner
In the Rational Unified Process, we do not use the FrontPage component for page banners. One reason is that they require updating in the Navigation View, which is a central file. Another reason is that we do not need the Navigation View for anything else, such as navigation bars, and it leaves one less thing to worry about. What do we use? There are two styles in the style sheet for the top title: Heading 1.bannerand Heading 2.bannerHeading 1.banner is used in major workflow chapters and other big titles having few words. Heading 2.banner is used for all objects in the process, because these usually have long names; for example, Activity, Worker, Guideline. The templates show when they are used. Unfortunately Netscape Navigator« and Microsoft Internet Explorer« treat background color for text differently. Internet Explorer colors the entire line from margin to margin, whereas Navigator only colors the area occupied by the text. Banners, Navigation View, and HTML tag <title>If you use the Navigation View and the FrontPage component for the banner, this might be good to know:
Pictures
Printed documentationFor pictures that go into printed documentation as well as online, do not use bitmaps. The exception to this rule is screen dumps. CorelDraw is used to draw the diagrams in the Rational Unified Process, which are exported from the CorelDraw format to the GIF-format. When creating printed documentation, the original CorelDraw picture is inserted into the proper chapter in Microsoft Word. Some pictures are smaller than the minimum size CorelDraw allows for exporting to GIF. These may need a CorelDraw version, as well as a separately made bitmap version. See the section titled "CorelDraw tips" for more information.. Small images for online onlyIcons, bullets, buttons, and so forth used only for online documentation can be created with a bitmap paint tool such as Image Composer, which comes with FrontPage, or CorelPaint. Adobe PhotoShop is also a current favorite. All of these tools require some experimentation to become familiar with them. Export pictures as GIF files. CorelDraw has a minimum size for exporting GIF files and, if it's not small enough, you have to scale the picture, which usually gives an ugly result. If icons are to be included in the printed version too, you'll need corresponding CorelDraw icons for them. CorelDraw tipsThis is not meant to replace the CorelDraw manual, but solely to share experience.
Exporting to GIF from CorelDrawTo export a picture to GIF, follow this procedure:
Reusing pictures in many placesYou can reuse a picture, even hotspot pictures, by placing them in an HTML-file by themselves then include them where you want them. This is useful for pictures that appear in more than one place.
Hotspot Pictures
It's very easy to create hotspots in pictures in FrontPage.
Using Colors
First of all, colors take up lots of spaceùthink twice before using them! Web browsers use 216 colors from what is known as the color cube. Using the RGB scheme, the 216 colors are made up from a triplet of {00, 51, 102, 153, 204, 255): in hex that is {00, 33, 66, 99, cc, ff}. These ones are already in CorelDraw's standard palette. We use a subset of these colors to keep the online version harmonious from a color standpoint. In the picture below, you can see the colors in our subset, and how they're used. As you may notice, we aren't using all of them yet. The names of the colors are shown to help you choose the right ones in CorelDraw. The RGB value is also indicated. There is a custom palette, with the colors below as well as black and white, that you can use as follows:
Tables
For headings in tables, use the style Normal.tableheading. The theme rules that there should be no borders around tables. In fact, they are there, but they're white. If you really want visible borders, override with local settings. Table placement
Text alignment in cells
References
A "thing" is a worker, artifact, guideline, activity, and so on. A "thing page" is a page with an activity, worker, artifact, guideline, and so forth.
General guidelines for cross-references are provided here:
Return and Shift-Return (Vertical White Space)
File Naming
File names should be no more than 20 characters long and should contain only alphabets, numbers, and underscores (_). Spaces and most symbols such as &, *, ; should not be used. It is also highly recommended that all file names be named using lowercase letters. The current file naming convention uses the abbreviations listed in the following table, and an abbreviated name of the file contents, separated by an underscore. For example, the artifact Use-Case Model is called ar_ucm.htm and the modeling guideline for the Use-Case Model is md_ucm.htm. We are considering a different way to name files to accommodate the requirements of unambiguous page referencing. Customers have expressed a need to reference items in the process in an easier way and it makes sense to use the same numbering or code in the file name, or at least some sort of obvious mapping.
Microsoft Word template
There is a Word template for creating manuals in print called rup.dot. We suggest that you create a separate folder for Rational Unified Process Microsoft Word templates named, for example, "RUP" in Word's template folder, which is typically C:\Program Files\Microsoft Office\Templates. Place a copy of this template file and others there. For more information on using Word, see Working in Microsoft Word to find out how to, and how not to, use Microsoft Word for HTML authoring. Index Online
See The Rational Unified Process Tools User Guide for information on how to generate an index. See the KeyWordIndex
for more information on how to enter keywords into Rational Unified Process
pages. |
Rational Unified
Process |